// com.example.myproject.model.UserMoney.java
package com.example.myproject.model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Data
@Entity
@Table(name = "user_money", schema = "avocado")
@TableName(value = "user_money", schema = "avocado")
public class UserMoney {
    @Id
    @TableId(value = "user_id")
    @Column(name = "user_id")
    private Long userId;

    @Column(name = "point")
    private Double point;

    @Column(name = "ticket")
    private Double ticket;

    @Column(name = "magicvalue")
    private Double magicvalue;
}
